|
Document Structure Description, or DSD, is a schema language for XML, that is, a language for describing valid XML documents. It's an alternative to DTD or the W3C XML Schema. An example of DSD in its simplest form: <dsd ="http://www.brics.dk/DSD/2.0" ="http://example.com"> <if><element =""/> <declare> <attribute =""/> <attribute =""/> <contents> <element =""/> </contents> </declare> </if> <if><element =""/> <declare> <contents> </contents> </declare> </if> </dsd> This says that element named "foo" in the XML namespace "http://example.com" may have two attributes, named "first" and "second". A "foo" element may not have any character data. It must contain one subelement, named "bar", also in the "http://example.com" namespace. A "bar" element is not allowed any attributes, character data or subelements. One XML document that would be valid according to the above DSD would be: <foo ="http://example.com" =""> <bar/> </foo> == Current Software store == * (Prototype Java Processor ) from BRICS 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Document Structure Description」の詳細全文を読む スポンサード リンク
|